package com.kasinf.sample.netty;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author kaiser
 * @date 2025/6/7
 */
@SpringBootApplication
public class NettyServerApplication implements ApplicationRunner {
    public static void main(String[] args) {
        SpringApplication.run(NettyServerApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        new NettyServer().start();
    }
}
